package com.hncu.method3;

public class Demo1Method {
    public static void main(String[] args) {
        int num = add(1,2);
        System.out.println(num);
    }
    public static int add(int num1,int num2){
        return num1+num2;
    }
}
